package org.jpro.modules.system.service;

import java.util.List;

import org.apache.shiro.subject.PrincipalCollection;

/**
 * <P>功能描述 : 角色权限service接口 </P>
 * <P>File name : IRolePermissionService </P>
 * <P>Author : 王泽浩 </P>
 * <P>E-Mail : 1028625100@qq.com </P>
 * <P>Date : 2017/3/4 上午12:01</P>
 */
public interface IRolePermissionService {

    List<Integer> getPermissionIds(Integer id);

    void clearUserPermCache(PrincipalCollection pc);

    void updateRolePermission(Integer id, List<Integer> oldRoleIdList, List<Integer> newRoleIdList);

}
